package com.zjsru.service;

import com.zjsru.mapper.OrderMapper;
import com.zjsru.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {
    @Autowired
    OrderMapper orderMapper;
    public Order queryOrderById(Long id) {
        Order order = orderMapper.queryOrderById(id);
        return order ;
    }
}
